home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
COMMUNIC
/
BULLETIN
/
H172.ZIP
/
SAPPHA.ZIP
/
ACCOUNT.BAT
next >
Wrap
DOS Batch File
|
1993-09-12
|
1KB
|
33 lines
@ECHO OFF
REM ┌────────────────────────────────────────────────────────────────────┐
REM │ Sample event batch file for Sapphire Accounting -- see ACCOUNT.DOC │
REM │ You need Pinnacle Software's Parse-O-Matic to run this batch file! │
REM └────────────────────────────────────────────────────────────────────┘
REM ──────────────────────────────────────────────────────────────────────
REM Run extraction procedure
REM
POM ACCOUNT.POM SAPPHIRE.ACC ACCOUNT.TMP
IF ERRORLEVEL 1 GOTO ERR
REM ──────────────────────────────────────────────────────────────────────
REM Run import rocedure
REM (For this example, we use the SEE program to view the import file)
REM
SEE ACCOUNT.TMP
GOTO SAVE
REM ──────────────────────────────────────────────────────────────────────
REM Error trap
REM
:ERR
COPY ACC.ERR+SAPPHIRE.ACC ACC.ERR
REM ──────────────────────────────────────────────────────────────────────
REM Make backup copy of data, thereby clearing processed data
REM
:SAVE
IF EXIST SAPPHIRE.AC$ DEL SAPPHIRE.AC$
RENAME SAPPHIRE.ACC SAPPHIRE.AC$